bugfixes in handling authentication in authentication form