++GOOD++
Auth through JS works now.

Signed-off-by: Alexey Korolev <akorolex@gmail.com>