fixed problem with tests redirection + problem with share private dialog - fixes vizzuality/cartodb-management#2779