When you login with the login form in the header, it does not redirect to Dokan dashboard. Because it is similar to the form in http://yourdomain.com/wp-login.php. Dokan does not add its function for this form. So you can install our custom plugin. You download it here