Fixed the retrieval of the dashboard by adding the -L to follow the redirect