Bug fix on mobile login (correct http status code on error)