-added redirect after auth to calling REST API

Signed-off-by: Artyom Borkowsky <artyom_borkowsky@stylesoft.by>