Put this in jQuery Document Ready event and you will get focus on Forms first field.
$("form:not(.filter) :input:visible:enabled:first").focus();
This is very useful when there are many forms.
AuthUserFile /yourserver/fullpath/where.htpasswdresides/.htpasswd
AuthGroupFile /dev/null
AuthName "Whatever Name you want to displayed with Prompt "
AuthType Basic
require user Usernameyouwant htpasswd -c .htpasswd Usernameyouwant