Loginformbugfix

Fixed error where the login form was considered to have non-valid data because the POST request was empty.