Implicit grant flow improvements (case 404) and angular js auth demo