Dirty version of dynamic failed login messages

Setting failed login message to first of authentication result error messages. Dynamic failed login messages was marked as todo in docblock comments.