Lock out - error message

If i try to login with locked user i get an error about wrong username or password. This is not right i think. Should be a message about account being locked out.

I think this has to do with locking accounts not being a XMPP standard, so the error code used is one of authentication failureā€¦ If the application only looks at the error code, it would misinterpret it.