title: Setting cookie with spray
body: <p>How would I save the "secret token" as a cookie before redirecting so that I can retrieve it later?</p>
  
  <hr>
  
  <p>@Mustafa Simav's answer is correct. Everything strangely started working when I cleaned my project (deleted sbt generated files)</p>