trying to make stupid dropbox authentication work with uirouter