Login form redirect not working
All redirect parameters needs to be hashed in Craft 3. If not, they're completely ignored. 

Try using: 

&lt;input type="hidden" name="redirect" value="{{ '/profile' | hash }}"&gt;


Or 

{{ redirectInput('profile') }}