[feature] /auth/signup now can respond to JSON

Since I needed to signup by AJAX  I've added JSON handling for signup. 

BTW. would be nice after signup user would be logged in