Updated login/htacces/js-files

Some minor validation errors on login, fixed by updating the
aforementioned files